@charset "UTF-8";
@import './transition.scss';
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: SourceHanSansCN-Normal, 'Microsoft Yahei', '微软雅黑', '宋体',
    Arial, Helvetica, sans-serif, serif;
}

a,
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

ul,
ol,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  outline: none;
  vertical-align: middle;
  border: none;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

.margin {
  &-xs {
    margin: 5px;
  }

  &-sm {
    margin: 10px;
  }

  margin: 16px;

  &-lg {
    margin: 24px;
  }
  &-xl {
    margin: 32px;
  }

  &-left {
    &-xs {
      margin-left: 5px;
    }

    &-sm {
      margin-left: 10px;
    }

    margin-left: 16px;

    &-lg {
      margin-left: 24px;
    }
    &-xl {
      margin-left: 32px;
    }
  }

  &-right {
    &-xs {
      margin-right: 5px;
    }

    &-sm {
      margin-right: 10px;
    }

    margin-right: 16px;

    &-lg {
      margin-right: 24px;
    }
    &-xl {
      margin-right: 32px;
    }
  }

  &-top {
    &-xs {
      margin-top: 5px;
    }

    &-sm {
      margin-top: 10px;
    }

    margin-top: 16px;

    &-lg {
      margin-top: 24px;
    }
    &-xl {
      margin-top: 32px;
    }
  }

  &-bottom {
    &-xs {
      margin-bottom: 5px;
    }

    &-sm {
      margin-bottom: 10px;
    }

    margin-bottom: 16px;

    &-lg {
      margin-bottom: 24px;
    }
    &-xl {
      margin-bottom: 32px;
    }
  }
  &-lr {
    &-xs {
      margin-left: 5px;
      margin-right: 5px;
    }

    &-sm {
      margin-left: 10px;
      margin-right: 10px;
    }

    margin-left: 16px;
    margin-right: 16px;

    &-lg {
      margin-left: 24px;
      margin-right: 24px;
    }
    &-xl {
      margin-left: 32px;
      margin-right: 32px;
    }
  }
  &-tb {
    &-xs {
      margin-top: 5px;
      margin-bottom: 5px;
    }

    &-sm {
      margin-top: 10px;
      margin-bottom: 10px;
    }

    margin-top: 16px;
    margin-bottom: 16px;

    &-lg {
      margin-top: 24px;
      margin-bottom: 24px;
    }

    &-xl {
      margin-top: 32px;
      margin-bottom: 32px;
    }
  }
}

.padding {
  &-xs {
    padding: 5px;
  }

  &-sm {
    padding: 10px;
  }

  padding: 16px;

  &-lg {
    padding: 24px;
  }
  &-xl {
    padding: 32px;
  }

  &-left {
    &-xs {
      padding-left: 5px;
    }

    &-sm {
      padding-left: 10px;
    }

    padding-left: 16px;

    &-lg {
      padding-left: 24px;
    }
    &-xl {
      padding-left: 32px;
    }
  }

  &-right {
    &-xs {
      padding-right: 5px;
    }

    &-sm {
      padding-right: 10px;
    }

    padding-right: 16px;

    &-lg {
      padding-right: 24px;
    }
    &-xl {
      padding-right: 32px;
    }
  }

  &-top {
    &-xs {
      padding-top: 5px;
    }

    &-sm {
      padding-top: 10px;
    }

    padding-top: 16px;

    &-lg {
      padding-top: 24px;
    }
    &-xl {
      padding-top: 32px;
    }
  }

  &-bottom {
    &-xs {
      padding-bottom: 5px;
    }

    &-sm {
      padding-bottom: 10px;
    }

    padding-bottom: 16px;

    &-lg {
      padding-bottom: 24px;
    }
    &-xl {
      padding-bottom: 32px;
    }
  }
  &-tb {
    &-xs {
      padding-top: 5px;
      padding-bottom: 5px;
    }
    &-sm {
      padding-top: 10px;
      padding-bottom: 10px;
    }
    padding-top: 16px;
    padding-bottom: 16px;
    &-lg {
      padding-top: 24px;
      padding-bottom: 24px;
    }
    &-xl {
      padding-top: 32px;
      padding-bottom: 32px;
    }
  }
  &-lr {
    &-xs {
      padding-left: 5px;
      padding-right: 5px;
    }
    &-sm {
      padding-left: 10px;
      padding-right: 10px;
    }
    padding-left: 16px;
    padding-right: 16px;
    &-lg {
      padding-left: 24px;
      padding-right: 24px;
    }
    &-xl {
      padding-left: 32px;
      padding-right: 32px;
    }
  }
}

.flex {
  display: flex;
  &-column {
    flex-direction: column;
  }
  &-sub {
    flex: 1;
  }
}

.justify {
  &-between {
    justify-content: space-between;
  }

  &-center {
    justify-content: center;
  }

  &-end {
    justify-content: flex-end;
  }
  &-start {
    justify-content: flex-start;
  }
}
.flex {
  &-nowrap {
    flex-wrap: nowrap;
  }
  &-wrap {
    flex-wrap: wrap;
  }
}
.align {
  &-center {
    align-items: center;
  }

  &-end {
    align-items: flex-end;
  }
}
.gap {
  &-xs {
    gap: 5px;
  }

  &-sm {
    gap: 10px;
  }

  gap: 16px;

  &-lg {
    gap: 24px;
  }
  &-xl {
    gap: 32px;
  }
}

.tr {
  text-align: right;
}
.tc {
  text-align: center;
}
.overflow {
  &-y {
    &-auto {
      overflow-y: auto;
    }
  }
}
.h {
  &-100 {
    height: 100%;
  }
  &-auto {
    height: auto !important;
  }
}
.w {
  &-100 {
    width: 100%;
  }
  &-auto {
    width: auto;
  }
}
.v100 {
  &-h {
    height: 100vh !important;
  }
  &-w {
    width: 100vw !important;
  }
}
.pointer {
  cursor: pointer;
}
.text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 滚动条 */

*::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 2px;
}

*::-webkit-scrollbar-corner {
  background: transparent;
}
*::-webkit-scrollbar {
  width: 7px;
  height: 6px;
}
*::-webkit-scrollbar-thumb {
  border: 0px solid transparent;
  background-clip: content-box;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 11px;
  &:vertical:hover,
  &:horizontal:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
}
